import os
from distutils.core import setup
from distutils.sysconfig import get_python_lib

import sys

sys.argv.append('install')
setup (name='ounk',
      version='0.2',
      author='Olivier Belanger',
      author_email='belangeo@gmail.com',
      url='http://code.google.com/p/ounk/',
      license='GPL',
      packages=['ounk', 'ounk.voiceSynth', 'ounk.osc'],
      data_files=[(os.path.join(get_python_lib(), 'ounk', 'voiceSynth'), ['ounk/voiceSynth/'+ f for f in os.listdir('ounk/voiceSynth') if f.endswith('txt')]),
      (os.path.join(get_python_lib(), 'ounk'), ['settings/' + f for f in os.listdir('settings') if f.endswith('py')])]
)


